package priv.mill.entry;

import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;

public class BasePojo implements Serializable{

	@JSONField(serialize=false)
	private Integer pageNumber;
	@JSONField(serialize=false)
	private Integer pageSize;
	public Integer getPageNumber() {
		return (pageNumber-1)*pageSize;
	}
	public void setPageNumber(Integer pageNumber) {
		this.pageNumber = pageNumber;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	
	
}
